package com.buoy.base.aluminumpricespider.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * API配置属性
 */
@Configuration
@ConfigurationProperties(prefix = "api")
@Data
public class ApiProperties {
    
    /**
     * Mind API配置
     */
    private Mind mind = new Mind();
    
    @Data
    public static class Mind {
        /**
         * API密码
         */
        private String password;
        
        /**
         * API URL
         */
        private String url = "https://mind.mozifactory.com/public/mater-price";
    }
} 